package com.hjxr.xmgl.excel.domain;

/**
 * @deprecated
 */
public class excel {

    private String name;
    private String sex;
    private String phone;
    private String email;
    private String address;

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getSex() {
        return sex;
    }
    public void setSex(String sex) {
        this.sex = sex;
    }
    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }

    public void setValues(String[] values) throws Exception{
        this.name = values[0] ==null?"":values[0].trim();
        this.sex = values[1] ==null?"":values[1].trim();
        this.phone = values[2] ==null?"":values[2].trim();
        this.email = values[3] ==null?"":values[3].trim();
        this.address = values[4] ==null?"":values[4].trim();
    }

}
